package com.wanxi.system;

public class SumSales {
    public static void main(String[] args) {
        int a = 110;
        int b = 2200;
//        int sum = a + b;
        int sum = 0;
//        sumSales(a, b);
        sum = sumSalesHaveReturn(a, b);
        System.out.println("销量综合为:" + sum);
    }

    private static void sumSales(int a, int b) {
        System.out.println(a + b);
        ;
    }

    private static int sumSalesHaveReturn(int a, int b) {
//        System.out.println(a+b);;
        return a + b;
    }
}
